package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商城订单物流对象 kk_order_delivery
 * 
 * @author ruoyi
 * @date 2022-05-24
 */
public class KkOrderDelivery extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer id;

    /** 会员id */
    @Excel(name = "会员id")
    private Integer uid;

    /** 订单号 */
    @Excel(name = "订单号")
    private String orderId;

    /** 收货人姓名 */
    @Excel(name = "收货人姓名")
    private String shouName;

    /** 收货人手机号 */
    @Excel(name = "收货人手机号")
    private String shouMobile;

    /** 所在地区 省/市/区(名称) */
    @Excel(name = "所在地区 省/市/区(名称)")
    private String shouRegion;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String address;

    /** 物流名称 */
    @Excel(name = "物流名称")
    private String deliveryName;

    /** 物流code */
    @Excel(name = "物流code")
    private String deliveryCode;

    /** 物流单号 */
    @Excel(name = "物流单号")
    private String deliveryNo;

    /** 物流轨迹 */
    @Excel(name = "物流轨迹")
    private String deliveryList;

    /** 物流状态0未完成 1完成 */
    @Excel(name = "物流状态0未完成 1完成")
    private Integer deliveryIs;

    /** 0快递收件(揽件)1.在途中 2.正在派件 3.已签收 4.派送失败 5.疑难件 6.退件签收 */
    @Excel(name = "0快递收件(揽件)1.在途中 2.正在派件 3.已签收 4.派送失败 5.疑难件 6.退件签收")
    private Integer deliveryStatus;

    /** 物流更新时间 */
    @Excel(name = "物流更新时间")
    private Integer deliveryTime;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private Integer addtime;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long creator;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date createDate;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setUid(Integer uid) 
    {
        this.uid = uid;
    }

    public Integer getUid() 
    {
        return uid;
    }
    public void setOrderId(String orderId) 
    {
        this.orderId = orderId;
    }

    public String getOrderId() 
    {
        return orderId;
    }
    public void setShouName(String shouName) 
    {
        this.shouName = shouName;
    }

    public String getShouName() 
    {
        return shouName;
    }
    public void setShouMobile(String shouMobile) 
    {
        this.shouMobile = shouMobile;
    }

    public String getShouMobile() 
    {
        return shouMobile;
    }
    public void setShouRegion(String shouRegion) 
    {
        this.shouRegion = shouRegion;
    }

    public String getShouRegion() 
    {
        return shouRegion;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setDeliveryName(String deliveryName) 
    {
        this.deliveryName = deliveryName;
    }

    public String getDeliveryName() 
    {
        return deliveryName;
    }
    public void setDeliveryCode(String deliveryCode) 
    {
        this.deliveryCode = deliveryCode;
    }

    public String getDeliveryCode() 
    {
        return deliveryCode;
    }
    public void setDeliveryNo(String deliveryNo) 
    {
        this.deliveryNo = deliveryNo;
    }

    public String getDeliveryNo() 
    {
        return deliveryNo;
    }
    public void setDeliveryList(String deliveryList) 
    {
        this.deliveryList = deliveryList;
    }

    public String getDeliveryList() 
    {
        return deliveryList;
    }
    public void setDeliveryIs(Integer deliveryIs) 
    {
        this.deliveryIs = deliveryIs;
    }

    public Integer getDeliveryIs() 
    {
        return deliveryIs;
    }
    public void setDeliveryStatus(Integer deliveryStatus) 
    {
        this.deliveryStatus = deliveryStatus;
    }

    public Integer getDeliveryStatus() 
    {
        return deliveryStatus;
    }
    public void setDeliveryTime(Integer deliveryTime) 
    {
        this.deliveryTime = deliveryTime;
    }

    public Integer getDeliveryTime() 
    {
        return deliveryTime;
    }
    public void setAddtime(Integer addtime) 
    {
        this.addtime = addtime;
    }

    public Integer getAddtime() 
    {
        return addtime;
    }
    public void setCreator(Long creator) 
    {
        this.creator = creator;
    }

    public Long getCreator() 
    {
        return creator;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("uid", getUid())
            .append("orderId", getOrderId())
            .append("shouName", getShouName())
            .append("shouMobile", getShouMobile())
            .append("shouRegion", getShouRegion())
            .append("address", getAddress())
            .append("deliveryName", getDeliveryName())
            .append("deliveryCode", getDeliveryCode())
            .append("deliveryNo", getDeliveryNo())
            .append("deliveryList", getDeliveryList())
            .append("deliveryIs", getDeliveryIs())
            .append("deliveryStatus", getDeliveryStatus())
            .append("deliveryTime", getDeliveryTime())
            .append("addtime", getAddtime())
            .append("updateTime", getUpdateTime())
            .append("creator", getCreator())
            .append("createDate", getCreateDate())
            .toString();
    }
}
